Inside Macintosh: Sound

| Previous | Chapter contents | Chapter top | Section top | Next |

Managing Sound Channels

To use most of the low-level Sound Manager routines, you must specify a sound channel that maintains a queue of commands. Also, to take advantage of the full capabilities of the high-level Sound Manager routines, including asynchronous sound play, you must allocate your own sound channels. This section explains how your application can allocate, dispose of, and use its own sound channels.

This section first describes how you can allocate and dispose of sound channels. Then it explains how you can manipulate sounds playing in sound channels, stop sounds playing in sound channels, and pause and restart the execution of sounds in sound channels.

Allocating Sound Channels

Initializing Sound Channels

Releasing Sound Channels

Manipulating a Sound That Is Playing

Stopping Sound Channels

Pausing and Restarting Sound Channels

Synchronizing Sound Channels


© 1998 Apple Computer, Inc.

| Previous | Chapter contents | Chapter top | Section top | Next |